﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EpubFactory.Template.Domain
{
    public class Author
    {
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public Relator Relator { get; set; }
        public Author(string name)
            : this(string.Empty, name)
        {

        }
        public Author(string firstName, string lastName)
            : this(firstName, lastName, Relator.Author)
        {

        }
        public Author(string firstName, string lastName, Relator relator)
        {
            this.FirstName = firstName;
            this.LastName = lastName;
            this.Relator = relator;
        }
        public Author(string name, Relator relator)
            : this(string.Empty, name, relator)
        {
            
        }

    }
}
